﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MebAppMarketplace.Model
{
    public class AppEvent : BaseModel
    {
        public AppEvent()
        {
        }
        /// <summary>
        /// 事件名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// AppName
        /// </summary>
        public string AppName { get; set; }
        /// <summary>
        /// App版本
        /// </summary>
        public string AppVersion { get; set; }
        /// <summary>
        /// 分发渠道
        /// </summary>
        public string Channel { get; set; }
        /// <summary>
        /// 设备ID
        /// </summary>
        public string DeviceID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        /// 登录用户具有的会话ID
        /// </summary>
        public string UserSID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrevEvent { get; set; }
        /// <summary>
        /// 堆栈跟踪/最大5/JSON
        /// </summary>
        public string StackTrace { get; set; }
        /// <summary>
        /// 操作系统
        /// </summary>
        public string Os { get; set; }
        /// <summary>
        /// 设备商标
        /// </summary>
        public string DeviceBrand { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string DeviceModel { get; set; }

        /// <summary>
        /// 额外内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 事件时间
        /// </summary>
        public DateTime EventTime { get; set; }

        /// <summary>
        /// 服务端存入时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
